{extend name="public/base" /}
{block name='content'}
{include file='public/content_header' /}
<!--数据列表页面-->
<section class="content">

    <!--顶部搜索筛选-->
    <div class="row">
        <div class="col-md-12">
            <div class="box">
                <div class="box-body">
                    <form class="form-inline searchForm" id="searchForm" action="{:url('getrisk')}" method="GET">

                        <div class="form-group" style="padding-top: 3px;">
                            <input value="{$member_id ? $member_id : '' ;}"
                                   name="member_id" id="member_id" class="form-control input-sm"
                                   placeholder="男性用户融云ID搜索">
                        </div>

                        <div class="form-group" style="padding-top: 3px;">
                            <input value="{$add_time|default=''}" readonly name="add_time" id="add_time"
                                   class="form-control input-sm indexSearchDateRange" placeholder="时间搜索">
                        </div>
                        <script>
                            laydate.render({
                                elem: '#add_time',
                                range: true,
                            });
                        </script>

                        <div class="form-group" style="padding-top: 3px;">
                            <button class="btn btn-sm btn-primary" type="submit"><i class="fa fa-search"></i> 查询
                            </button>
                        </div>

                        <div class="form-group" style="padding-top: 3px;">
                            <button onclick="clearSearchForm()" class="btn btn-sm btn-default" type="button"><i
                                    class="fa  fa-eraser"></i> 清空查询
                            </button>
                        </div>

                    </form>
                    <br/>
                    <div class="form-group" style="padding-top: 3px;">
                        <b><span style="color: red">{$memberinfo}</span></b>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <div class="box">

                <div class="box-body table-responsive">
                    {foreach name='data' id='item' key='data_key'}
                        <b style="font-size: 15px;">
                            {$item.memberinfostr} {$item.arr.sjinfo}=>
                            <span style="color: red">{$item.arr.wz}</span>
                            <span style="color: red">{$item.arr.lw}</span>
                            <span style="color: blue">{$item.arr.cz}</span>
                            <span style="color: blue">{$item.arr.ktvip}</span>
                            <span style="color: blue">{$item.arr.zsvip}</span>
                            <span style="color: green">{$item.arr.hj}</span>
                            <span style="color: green">{$item.fg_word}</span>
                            <br><br><br>
                        </b>
                    {/foreach}
                </div>


            </div>
        </div>
    </div>
</section>
<script>
    $(function () {
        $('.photo-list img').on('click', function () {
            layer.photos({
                photos: '.photo-list',
                shadeClose: false,
                closeBtn: 2,
                anim: 5
            });
        })
    });
</script>
{/block}

